{include file="public/header" /}
<style type="text/css">
    .gray-bg{ background: #fff; }
    .wrapper{ padding: 0;}
    .image-item { margin-bottom: 20px; height:284px; overflow: hidden; }
    .image-item div { width: 100%; margin-bottom: 10px; overflow:hidden; height: 200px; }
    .image-item div img { width: 100%; }
    .image-item button{ position: absolute; right: 15px; display: block; }
    #images-item {margin-left: 100px; margin-right: 100px;}
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="ibox-content">

                    <div class="form-group">
                        <label class="col-sm-2 control-label">状态：</label>
                        <div class="col-sm-9">
                            <div class="radio i-checks">
                                <label>
                                    <input type="radio" name="state" value="1" {if !isset($data.state) or $data.state eq 1}checked="checked"{/if} /> 显示
                                </label>
                                <label>
                                    <input type="radio" name="state" value="0" {if isset($data.state) and $data.state eq 0}checked="checked"{/if} /> 隐藏
                                </label>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">币量：</label>
                        <div class="col-sm-9">
                            <input type="text" name="money" class="form-control" value="{if !empty($data.money)}{$data.money}{/if}" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">价格：</label>
                        <div class="col-sm-9">
                            <input type="text" name="price" class="form-control" value="{if !empty($data.price)}{$data.price}{/if}" />
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">排序：</label>
                        <div class="col-sm-9">
                            <input type="text" name="sort" class="form-control" value="{if !empty($data.sort)}{$data.sort}{else}0{/if}" onkeyup="this.value = this.value.replace(/[^\d]/g,'')" />
                        </div>
                    </div>


                </div>
            </div>
        </form>
    </div>
</div>
{include file="public/footer" /}
<script type="text/javascript" src="__STYLE__/admin/js/area.js?ver=20200522"></script>
{load href="__STYLE__/admin/plugins/iCheck/icheck.min.js"}
{load href="__STYLE__/admin/plugins/iCheck/custom.css"}
<script type="text/javascript">
    $(document).ready(function () {
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        });
    });

</script>
{include file="public/bottom" /}